// 最基础的样式要最先引入
import './index.less';
// 库引入
import React from 'react';
import ReactDOM from 'react-dom';
import {configure} from 'mobx';
import {Provider} from 'mobx-react';
import {store} from './mst/store/index';
import moment from 'moment';
import 'moment/locale/zh-cn';
import App from './App';
import registerServiceWorker from './registerServiceWorker';

// 日期时间本地化
moment.locale('zh-cn');
// mobx启用严格模式
configure({ enforceActions: "strict" });

ReactDOM.render(<Provider {...store}><App/></Provider>, document.getElementById('root'));
registerServiceWorker();
